﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace SanQiOther.Models
{
    public class LoginViewModel
    {
        [Required(ErrorMessage = "{0} 不能为空")]
        [StringLength(10)]
        [Display(Name = "账号")]
        public string UserAccount { get; set; }

        [Required(ErrorMessage = "{0} 不能为空")]
        [StringLength(32)]
        [Display(Name = "密码")]
        public string UserPwd { get; set; }
    }
}